<?php /* Smarty version Smarty-3.1.11, created on 2013-10-13 13:41:59
         compiled from "..\templates\thongke\tuyensinhtungnganh.tpl" */ ?>
<?php /*%%SmartyHeaderCode:186185254d4dbcc4f03-47365003%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5c2e8f59292aa1f031115a767cb0817e41d89ea3' => 
    array (
      0 => '..\\templates\\thongke\\tuyensinhtungnganh.tpl',
      1 => 1381646448,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '186185254d4dbcc4f03-47365003',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5254d4dbda3167_62580480',
  'variables' => 
  array (
    'dsnganh' => 0,
    'i' => 0,
    'nganh' => 0,
    'ds_tt2013' => 0,
    'tt13' => 0,
    'ds_nh2013' => 0,
    'nh13' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5254d4dbda3167_62580480')) {function content_5254d4dbda3167_62580480($_smarty_tpl) {?><div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Thống kê nhập học năm 2013</h3>
	</div> <!-- End .content-box-header -->	
	<div class="content-box-content">
<!----------------------------------------------------------------- NỘI DUNG TRANG------------------------------------------------------------------------>
        			
        <form action="" method="POST" id="formnoidung" name="dulieu" enctype="multipart/form-data" onsubmit="return ktnhap_cb()">
        <table style="margin: 0 auto">
            <tr><td class="cangiua" colspan="9"><h3>Thống kê nhập học</h3></td></tr>
            <tr>
                <td><label>STT</label></td>
                <td><label>Ngành</label></td>
                <td><label>Tổng số trúng tuyển</label></td>
                <td><label>Tổng số nhập học</label></td>
                                
            </tr>
            
            <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['nganh'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nganh']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dsnganh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['nganh']->key => $_smarty_tpl->tpl_vars['nganh']->value){
$_smarty_tpl->tpl_vars['nganh']->_loop = true;
?>
                <tr>
                    <td class="cangiua"><?php echo $_smarty_tpl->tpl_vars['i']->value++;?>
</td>
                    <td><?php echo $_smarty_tpl->tpl_vars['nganh']->value['ten_nganh'];?>
</td>
                    <td>
                        <?php  $_smarty_tpl->tpl_vars['tt13'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tt13']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_tt2013']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tt13']->key => $_smarty_tpl->tpl_vars['tt13']->value){
$_smarty_tpl->tpl_vars['tt13']->_loop = true;
?>
                            <?php if ($_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']==$_smarty_tpl->tpl_vars['tt13']->value['nganh']){?>
                            <?php echo $_smarty_tpl->tpl_vars['tt13']->value['tong'];?>

                            <?php break 1?>
                            <?php }?>
                        <?php } ?>
                    </td>
                    <td>
                        <?php  $_smarty_tpl->tpl_vars['nh13'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nh13']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_nh2013']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['nh13']->key => $_smarty_tpl->tpl_vars['nh13']->value){
$_smarty_tpl->tpl_vars['nh13']->_loop = true;
?>
                            <?php if ($_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']==$_smarty_tpl->tpl_vars['nh13']->value['nganh']){?>
                            <?php echo $_smarty_tpl->tpl_vars['nh13']->value['tong'];?>

                            <?php break 1?>
                            <?php }?>
                        <?php } ?>
                    </td>
                </tr>
            <?php } ?>
        </table>
<!-----------------------------------------------------------KẾT THÚC NỘI DUNG TRANG------------------------------------------------------------------------>
</div> <!-- End .content-box-content -->
</div> <!-- End .content-box --><?php }} ?>